package com.qf.userfull;

public class DogDemo {
    public static void main(String[] args) throws InterruptedException {
        Dog dog = new Dog();
        int i = dog.hashCode();
        System.out.println(i);

        String s = dog.toString();
        System.out.println(s);

//        dog.wait();

//        System.out.println(1);
        boolean b = dog.equals("abc");
        System.out.println(b);

        boolean b1 = dog.equals(new Dog());
        System.out.println(b1);

        System.out.println(dog.equals(dog));
    }
}
